package com.flex.mobile.model;

import java.io.Serializable;

public class User implements Serializable {
   public final static int USER_TYPE_CUST = 0;
   public final static int USER_TYPE_DRIVER = 1;
   
   private static final long serialVersionUID = 1L;
   
   private String name;
   private String password;
   private long id;
   private long tid;
   private String firstName;
   private String lastName;
   private String email;
   private String picture;
   private String phone;
   private String iphoneToken;
   private int type;
   private String userName;
   private String carId;
   
   public long getTid() {
   	return tid;
   }
   public void setTid(long tid) {
   	this.tid = tid;
   }
   public String getName() {
      return name;
   }
   public void setName(String name) {
      this.name = name;
   }
   public String getPassword() {
      return password;
   }
   public void setPassword(String password) {
      this.password = password;
   }
   public long getId() {
      return id;
   }
   public void setId(long id) {
      this.id = id;
   }
   public String getFirstName() {
      return firstName;
   }
   public void setFirstName(String firstName) {
      this.firstName = firstName;
   }
   public String getLastName() {
      return lastName;
   }
   public void setLastName(String lastName) {
      this.lastName = lastName;
   }
   public String getEmail() {
      return email;
   }
   public void setEmail(String email) {
      this.email = email;
   }
   public String getPicture() {
      return picture;
   }
   public void setPicture(String picture) {
      this.picture = picture;
   }
   public void setPhone(String phone) {
      this.phone = phone;
   }
   public String getPhone() {
      return phone;
   }
   public int getType() {
      return type;
   }
   public void setType(int type) {
      this.type = type;
   }
   public String getUserName() {
      return userName;
   }
   public void setUserName(String userName) {
      this.userName = userName;
   }
   public String getCarId() {
      return carId;
   }
   public void setCarId(String carId) {
      this.carId = carId;
   }
   public String getIphoneToken() {
      return iphoneToken;
   }
   public void setIphoneToken(String phoneToken) {
      this.iphoneToken = phoneToken;
   }
}
